package org.shoukaiseki.supersaiyan.system.domain.entity;

import org.apache.ibatis.type.Alias;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.shoukaiseki.supersaiyan.common.core.domain.base.BaseEntity;
import org.shoukaiseki.supersaiyan.common.core.domain.base.TreeEntity;

/**
 * 组织限制 对象 sys_organize
 *
 * @author shoukaiseki
 * @date 2022-10-17
 */
@Alias("SysOrganizeEntity")
public class SysOrganizeEntity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    public static final String TABLE_NAME = "sys_organize";

    //主键名
    public static final String TABLE_UNIQUE_ID_NAME = "org_id";

    /** 组织 */
    private String orgName;

    /** 描述 */
    private String description;

    /** 小记 */
    private String notepad;

    /** 详细说明 */
    private String content;

    /** 状态 */
    private Integer status;

    /** 删除标志 */
    private String delFlag;

    private Long orgId;

    public void setOrgName(String orgName)
    {
        this.orgName = orgName;
    }

    public String getOrgName()
    {
        return orgName;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setNotepad(String notepad)
    {
        this.notepad = notepad;
    }

    public String getNotepad()
    {
        return notepad;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public ToStringBuilder toStringBuilder(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orgId", getOrgId())
            .append("orgName", getOrgName())
            .append("description", getDescription())
            .append("remark", getRemark())
            .append("notepad", getNotepad())
            .append("content", getContent())
            .append("status", getStatus())
            .append("createUserId", getCreateUserId())
            .append("createTime", getCreateTime())
            .append("updateUserId", getUpdateUserId())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            ;
    }


        @Override
        public String toString() {
            return toStringBuilder().toString();
        }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }
}
